package com.example.springboot_mybatisplus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot_mybatisplus.entity.User;

import java.util.List;

/**
 * @author linruhai
 * @date 2021/10/8 - 23:54
 */
public interface UserService {
     int add(User user);

     List<User> findAll();

     List<User> findPage(int current, int pageSize);

     int updateById(User user);

     int deleteById(long id);
}
